package com.log.local.helper;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

import com.best.smart.log.VPNLog;
import com.best.smart.logfile.LogActivity;

public class LogUtils {

    public static void init(Context context){
        VPNLog.initLog(context);
    }

    public static void openLogActivity(Activity activity){
        Intent intent = new Intent(activity, LogActivity.class);
        activity.startActivity(intent);
    }

    public static void log(String info){
        VPNLog.e(info);
    }

    public static void logEvent(String event){
        VPNLog.event(event);
    }
}
